<?php

use yii\helpers\Html;
use yii\widgets\DetailView;

/* @var $this yii\web\View */
/* @var $model common\models\News */

$this->title = $model->title.'-锐锋堂刀剑网';
$this->registerCssFile('/css/base1.css');
$this->registerCssFile('/css/article.css');
$this->registerCssFile('/css/style2.css');
$this->registerMetaTag([
    'name' => 'description','content'=>mb_strimwidth(strip_tags($model->message), 0, 180, '...','utf8')]);
?>
<div class="yx_wz">
		<span class="f_l"><a href="/site/index.html">首页</a> » <a
			href="/news/index.html">新闻中心</a> » <a href="/news/list-<?=$column[$model->pid]['id']?>.html"><?=$column[$model->pid]['name']?></a> » <?=$model->title?></span>
	</div>
	<div class="m">
		<div class="m_l f_l">
			<div class="left_box">
				<h1 class="a_title"><?=$model->title?></h1>
				<div class="info">
				发布日期：<?=date('Y-m-d H:i:s',$model->createtime)?>&nbsp;&nbsp;浏览次数：<span
						id="hits"><?=$model->look?></span>
				</div>

				<div id="content" class='message'>
				<?=$model->message?>
				</div>
				<div class="np info">
					<ul>
					<?php if($next):?>
						<li><strong>下一篇：</strong><a href="/news/view-<?=$next->id?>.html"
							title="<?=$next->title?>"><?=$next->title?></a>
						</li>
					<?php endif;?>
					<?php if($prev):?>
						<li><strong>上一篇：</strong><a href="/news/view-<?=$prev->id?>.html"
							title="<?=$prev->title?>"><?=$prev->title?></a>
						</li>
					<?php endif;?>
					</ul>
				</div>
				<div class="art_fx f_gray">
					<form method="post"
						action="http://chinahzp.wang/member/sendmail.php" name="sendmail"
						id="sendmail" target="_blank">
						<input name="itemid" value="14" type="hidden"> <input
							name="title" value="美肤宝江苏市场第二季度精英店长培训班——盐城站" type="hidden">
								<input name="linkurl" value="news.htmlshow-14.html"
								type="hidden">
					</form>
					<div class="bdsharebuttonbox bdshare-button-style0-16"
					data-bd-bind="1441079683326">
					<a href="#" class="bds_more" data-cmd="more">分享到：</a><a href="#"
						class="bds_qzone" data-cmd="qzone" title="分享到QQ空间"></a><a href="#"
						class="bds_tsina" data-cmd="tsina" title="分享到新浪微博"></a><a href="#"
						class="bds_tqq" data-cmd="tqq" title="分享到腾讯微博"></a><a href="#"
						class="bds_renren" data-cmd="renren" title="分享到人人网"></a><a
						href="#" class="bds_weixin" data-cmd="weixin" title="分享到微信"></a>
				</div>
				<script>
window._bd_share_config={"common":{
	"bdSnsKey":{},
	"bdText":"<?=$this->title?>",
	"bdMini":"2",
	"bdMiniList":false
	,"bdPic":"http://www.daojianchang.com<?=$model->logo?>",
	"bdStyle":"0",
	"bdDesc":"<?=mb_strimwidth(strip_tags($model->message), 0, 60, '...','utf8')?>",
	"bdSize":"16"},
	"share":{"bdSize":16},"image":{"viewList":["qzone","tsina","tqq","renren","weixin"],"viewText":"分享到：","viewSize":"16"},"selectShare":{"bdContainerClass":null,"bdSelectMiniList":["qzone","tsina","tqq","renren","weixin"]}};with(document)0[(getElementsByTagName('head')[0]||body).appendChild(createElement('script')).src='http://bdimg.share.baidu.com/static/api/js/share.js?v=89860593.js?cdnversion='+~(-new Date()/36e5)];
</script>
				</div>
				<div class="art_xg">
					<p>为您推荐更多相关文章</p>
					<ul>
					<?php if(!empty($top)):?>
					<?php foreach($top as $val):?>
						<li><a href="/news/view-<?=$val['id']?>.html" title="<?=$val['title']?>"><?=$val['title']?></a>
							<span><?=date('Y-m-d',$val['createtime'])?><span></span></span></li>
					<?php endforeach;?>
					<?php endif;?>
					</ul>
				</div>

			</div>
		</div>
		<div class="m_n f_l">&nbsp;</div>
		<div class="m_r f_l">
			<div class="box_head_1">
				<div>
					<a
						href="news.html"><strong>相关栏目</strong></a>
				</div>
			</div>
			<div class="box_body a_l_bg" id="inews">
				<div class="headline"></div>
				<div class="li_dot f_gray">
				<?php if(!empty($column)):?>
				<?php foreach($column as $val):?>
					<a href='/news/list-<?=$val['id']?>.html'><span><?=$val['name']?></span></a>
				<?php endforeach;?>
				<?php endif;?>
				</div>
			</div>
			<div class="b10"></div>
			<div class="box_head_1">
				<div>
					<strong>热门文章</strong>
				</div>
			</div>
			<div class="box_body">
				<div class="rank_list">
				<?php if(!empty($hot)):?>
				<?php foreach($hot as $val):?>
					<li><i></i><a target="_blank" href="/news/view-<?=$val['id']?>.html"
						title="<?=$val['title']?>"><?=$val['title']?></a> <time>(<?=date('Y-m-d',$val['createtime'])?>)</time>
					</li>
				<?php endforeach;?>
				<?php endif;?>
				</div>
			</div>
		</div>
	</div>
	